package nz.co.doherty.gwtpbreadcrumbs.shared.entity;

import java.io.Serializable;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Entity;

@Entity
public class Product implements Serializable {

	private static final long serialVersionUID = -2723709287785726005L;

	@Id
	private Long id;

	private String name;

	private Product() {}

	public Product(String name) {
		this.setName(name);
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public Long getId() {
		return id;
	}

}
